package br.com.persist.api;

public class EntityNotFoundException extends Exception {

	private static final long serialVersionUID = 8475069051001710611L;

	private String entityName;

	public EntityNotFoundException(String entityName) {
		super("Entity with name '" + entityName + "' not found by the entity resolve.");
		this.entityName = entityName;
	}

	public String getEntityName() {
		return entityName;
	}
}
